﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CategoryList.ascx.cs" Inherits="CategoryList" %>
<asp:DataList ID="dlstCategory" runat="server" RepeatColumns="2" RepeatDirection="Horizontal" Width="129px">
 <HeaderTemplate> 
          <table width="200" height="20" border="0" cellpadding="2" cellspacing="2" style="background-color:#fff;" class="category"><tr></HeaderTemplate>
            <ItemTemplate>
            <td style="color:Gray; line-height:3.0; font-size:12px; text-align:center; font-weight:bold;">
                <a href='<%# String.Format("Category.aspx?cat={0}",Eval("id")) %>' > <%#Eval("Category") %></a>
            </td></ItemTemplate>
          <FooterTemplate></tr></table></FooterTemplate>
</asp:DataList>
